<?php //echo link_to(__('Фотографии'),'gallery/filter?gallery_filters[user_id]='.$sf_guard_user->getId(), 'target="_blank"') ?>
<?php if($sf_guard_user->getId()>0):?>
<div style="overflow: hidden; float: right; border: 1px solid silver; margin: 5px; padding: 2px">

			<?php if ($sf_guard_user->getPhoto()!=''):?>
			<div style="float: left; position: relative; width: 60px; margin-right: -60px">
                         <span style="font-size: 10px; font-weight: bold">id: <?php echo $sf_guard_user->getId() ?></span>
			<?php echo image_tag('/uploads/users/avatar/_thumbnail/'.$sf_guard_user->getPhoto())?>
                          <span style="font-size: 10px; font-weight: bold"><?php echo $sf_guard_user ?></span>
			</div>
			<?php endif ?>

			 <div style="float: left; padding-left: 65px">
		         <?php echo link_to(__('Просмотреть'),sfConfig::get('app_frontend_url').'profile/show?id='.$sf_guard_user->getId(),'target="_blank"')?><br />
                         <?php echo link_to(__('Редактировать'),'profile/edit?id='.$sf_guard_user->getId())?><br/>
                         <?php echo link_to(__('Письмо'),'profile/letter?id='.$sf_guard_user->getId())?><br/>
                         <?php echo link_to(__('Фото'),'profile/photo?id='.$sf_guard_user->getId())?><br/>
                         <?php echo link_to(__('Видео'),'profile/video?id='.$sf_guard_user->getId())?><br/>
			</div>
</div>
<?php endif ?>
